/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package glamourbeautyclinic.cashier;



import java.awt.Dimension;
import java.awt.Toolkit;
import images.GlamourImage;
import java.awt.Point;
import java.util.Vector;
import javax.swing.RowSorter;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
import util.DBConnection;




/**
 *
 * @author anh
 */
public class FrmBill extends javax.swing.JInternalFrame {
    //Declare for EVERY form
    GlamourImage GI = new GlamourImage();
    //Declare for CONCRETE form
    
    
    /**
     * Creates new form frmSearchCustomer
     */
    public FrmBill(DBConnection dc) {
        //this.setContentPane(new ImageBackgroundPanel(new ImageIcon(GI.getClass().getResource("Frame.png"))));
        initComponents();
        
        GI.addIconFor(this);
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        // Can be resize height parameter to proper scale
        this.setLocation((screenSize.width - this.getWidth()) / 2, 10);
        RowSorter<TableModel> sorter = new TableRowSorter<TableModel>(tblApp.getModel());
        tblApp.setRowSorter(sorter);
        
        sorter = new TableRowSorter<TableModel>(tblDetails.getModel());
        tblDetails.setRowSorter(sorter);
    }


    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pmnApp = new javax.swing.JPopupMenu();
        mniSelectAll = new javax.swing.JMenuItem();
        mniDeselect = new javax.swing.JMenuItem();
        jSeparator1 = new javax.swing.JPopupMenu.Separator();
        mniInvoice = new javax.swing.JMenuItem();
        pnlCashier = new javax.swing.JPanel();
        chkToday = new javax.swing.JCheckBox();
        lblFrom = new javax.swing.JLabel();
        calFrom = new org.freixas.jcalendar.JCalendarCombo();
        lblTo = new javax.swing.JLabel();
        calTo = new org.freixas.jcalendar.JCalendarCombo();
        lblGrand = new javax.swing.JLabel();
        pnlChild1 = new javax.swing.JPanel();
        btnGetApp = new javax.swing.JButton();
        btnSelectAll = new javax.swing.JButton();
        btnDeselect = new javax.swing.JButton();
        btnInvoice = new javax.swing.JButton();
        jspApp = new javax.swing.JScrollPane();
        tblApp = new javax.swing.JTable();
        lblDetails = new javax.swing.JLabel();
        pnlChild2 = new javax.swing.JPanel();
        jspDetails = new javax.swing.JScrollPane();
        tblDetails = new javax.swing.JTable();
        btnExit = new javax.swing.JButton();

        mniSelectAll.setText("Select all");
        pmnApp.add(mniSelectAll);

        mniDeselect.setText("Deselect");
        pmnApp.add(mniDeselect);
        pmnApp.add(jSeparator1);

        mniInvoice.setText("Create invoice");
        pmnApp.add(mniInvoice);

        setClosable(true);
        setIconifiable(true);
        setTitle("Bill management");
        setMaximumSize(new java.awt.Dimension(672, 634));

        pnlCashier.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true), "Cashier", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Arial", 1, 12), new java.awt.Color(51, 51, 51))); // NOI18N
        pnlCashier.setOpaque(false);

        chkToday.setForeground(new java.awt.Color(0, 102, 51));
        chkToday.setSelected(true);
        chkToday.setText("Today");
        chkToday.setBorder(null);
        chkToday.setBorderPainted(true);
        chkToday.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        chkToday.setOpaque(false);
        chkToday.setPreferredSize(new java.awt.Dimension(51, 20));

        lblFrom.setDisplayedMnemonic('r');
        lblFrom.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblFrom.setForeground(new java.awt.Color(0, 51, 255));
        lblFrom.setText("From");
        lblFrom.setPreferredSize(new java.awt.Dimension(38, 20));

        calFrom.setEnabled(false);

        lblTo.setDisplayedMnemonic('r');
        lblTo.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblTo.setForeground(new java.awt.Color(0, 51, 255));
        lblTo.setText("To");
        lblTo.setPreferredSize(new java.awt.Dimension(38, 20));

        calTo.setEnabled(false);

        lblGrand.setDisplayedMnemonic('r');
        lblGrand.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblGrand.setForeground(new java.awt.Color(0, 51, 255));
        lblGrand.setText("Grand total");
        lblGrand.setPreferredSize(new java.awt.Dimension(38, 20));

        pnlChild1.setBackground(new java.awt.Color(255, 255, 255));
        pnlChild1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.LOWERED));

        btnGetApp.setBackground(new java.awt.Color(255, 255, 255));
        btnGetApp.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnGetApp.setForeground(new java.awt.Color(0, 51, 51));
        btnGetApp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/filter.png"))); // NOI18N
        btnGetApp.setMnemonic('S');
        btnGetApp.setText("Get appointment");
        btnGetApp.setToolTipText("Find customer");
        btnGetApp.setBorder(null);
        btnGetApp.setContentAreaFilled(false);
        btnGetApp.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        btnGetApp.setMargin(new java.awt.Insets(6, 6, 6, 6));
        btnGetApp.setName(""); // NOI18N
        btnGetApp.setOpaque(true);
        btnGetApp.setPreferredSize(new java.awt.Dimension(100, 22));
        btnGetApp.setRolloverEnabled(false);

        btnSelectAll.setBackground(new java.awt.Color(255, 255, 255));
        btnSelectAll.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnSelectAll.setForeground(new java.awt.Color(0, 51, 51));
        btnSelectAll.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/SelectAll.png"))); // NOI18N
        btnSelectAll.setMnemonic('a');
        btnSelectAll.setText("Select all");
        btnSelectAll.setToolTipText("Check all select combo box");
        btnSelectAll.setBorder(null);
        btnSelectAll.setContentAreaFilled(false);
        btnSelectAll.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        btnSelectAll.setMargin(new java.awt.Insets(6, 6, 6, 6));
        btnSelectAll.setName(""); // NOI18N
        btnSelectAll.setOpaque(true);
        btnSelectAll.setPreferredSize(new java.awt.Dimension(59, 22));
        btnSelectAll.setRolloverEnabled(false);

        btnDeselect.setBackground(new java.awt.Color(255, 255, 255));
        btnDeselect.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnDeselect.setForeground(new java.awt.Color(0, 51, 51));
        btnDeselect.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Deselect.png"))); // NOI18N
        btnDeselect.setMnemonic('e');
        btnDeselect.setText("Deselect");
        btnDeselect.setToolTipText("Uncheck all select combo box");
        btnDeselect.setBorder(null);
        btnDeselect.setContentAreaFilled(false);
        btnDeselect.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        btnDeselect.setMargin(new java.awt.Insets(6, 6, 6, 6));
        btnDeselect.setName(""); // NOI18N
        btnDeselect.setOpaque(true);
        btnDeselect.setPreferredSize(new java.awt.Dimension(59, 22));
        btnDeselect.setRolloverEnabled(false);

        btnInvoice.setBackground(new java.awt.Color(255, 255, 255));
        btnInvoice.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        btnInvoice.setForeground(new java.awt.Color(0, 51, 51));
        btnInvoice.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/bill.png"))); // NOI18N
        btnInvoice.setMnemonic('S');
        btnInvoice.setText("Create invoice");
        btnInvoice.setToolTipText("Find customer");
        btnInvoice.setBorder(null);
        btnInvoice.setContentAreaFilled(false);
        btnInvoice.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        btnInvoice.setMargin(new java.awt.Insets(6, 6, 6, 6));
        btnInvoice.setName(""); // NOI18N
        btnInvoice.setOpaque(true);
        btnInvoice.setPreferredSize(new java.awt.Dimension(100, 22));
        btnInvoice.setRolloverEnabled(false);

        tblApp.setForeground(new java.awt.Color(0, 102, 51));
        tblApp.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, "01/01/1984", "Alex Chow", "Pre-bill", "50"},
                {null, "20/07/1993", "Lion King", "Processing", "44"},
                {null, "08/06/2001", "Jet Li", "Late-Bill", "26"}
            },
            new String [] {
                "Select", "App date", "Customer", "Status", "Total amount"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Boolean.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        tblApp.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        tblApp.getTableHeader().setReorderingAllowed(false);
        jspApp.setViewportView(tblApp);
        if (tblApp.getColumnModel().getColumnCount() > 0) {
            tblApp.getColumnModel().getColumn(0).setHeaderValue("Select");
            tblApp.getColumnModel().getColumn(4).setHeaderValue("Total amount");
        }

        javax.swing.GroupLayout pnlChild1Layout = new javax.swing.GroupLayout(pnlChild1);
        pnlChild1.setLayout(pnlChild1Layout);
        pnlChild1Layout.setHorizontalGroup(
            pnlChild1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlChild1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlChild1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jspApp, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnlChild1Layout.createSequentialGroup()
                        .addComponent(btnGetApp, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnSelectAll, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnDeselect, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(btnInvoice, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        pnlChild1Layout.setVerticalGroup(
            pnlChild1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlChild1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlChild1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlChild1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btnSelectAll, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btnDeselect, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlChild1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btnInvoice, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btnGetApp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(1, 1, 1)
                .addComponent(jspApp, javax.swing.GroupLayout.DEFAULT_SIZE, 195, Short.MAX_VALUE)
                .addContainerGap())
        );

        lblDetails.setDisplayedMnemonic('r');
        lblDetails.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        lblDetails.setForeground(new java.awt.Color(0, 51, 255));
        lblDetails.setText("In details");
        lblDetails.setPreferredSize(new java.awt.Dimension(38, 20));

        pnlChild2.setBackground(new java.awt.Color(255, 255, 255));
        pnlChild2.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.LOWERED));

        tblDetails.setForeground(new java.awt.Color(0, 102, 51));
        tblDetails.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {"Hair dye", "Alex Chow", "20"},
                {"Hair wash", "Lion King", "45"},
                {"Waxing", "Jet Li", "60"}
            },
            new String [] {
                "Service", "Staff", "Price"
            }
        ));
        tblDetails.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        tblDetails.getTableHeader().setReorderingAllowed(false);
        jspDetails.setViewportView(tblDetails);

        javax.swing.GroupLayout pnlChild2Layout = new javax.swing.GroupLayout(pnlChild2);
        pnlChild2.setLayout(pnlChild2Layout);
        pnlChild2Layout.setHorizontalGroup(
            pnlChild2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlChild2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jspDetails, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                .addContainerGap())
        );
        pnlChild2Layout.setVerticalGroup(
            pnlChild2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlChild2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jspDetails, javax.swing.GroupLayout.DEFAULT_SIZE, 96, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout pnlCashierLayout = new javax.swing.GroupLayout(pnlCashier);
        pnlCashier.setLayout(pnlCashierLayout);
        pnlCashierLayout.setHorizontalGroup(
            pnlCashierLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlCashierLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlCashierLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(pnlCashierLayout.createSequentialGroup()
                        .addComponent(chkToday, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(lblFrom, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(calFrom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(lblTo, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(calTo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(lblGrand, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDetails, javax.swing.GroupLayout.PREFERRED_SIZE, 135, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pnlChild1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pnlChild2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pnlCashierLayout.setVerticalGroup(
            pnlCashierLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlCashierLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlCashierLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(chkToday, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblFrom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(calFrom, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblTo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(calTo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(lblGrand, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pnlChild1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(lblDetails, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pnlChild2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        btnExit.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/quit.png"))); // NOI18N
        btnExit.setMnemonic('x');
        btnExit.setText("Exit");
        btnExit.setToolTipText("Goodbye");
        btnExit.setBorder(null);
        btnExit.setContentAreaFilled(false);
        btnExit.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        btnExit.setMargin(new java.awt.Insets(6, 6, 6, 6));
        btnExit.setName(""); // NOI18N
        btnExit.setOpaque(true);
        btnExit.setPreferredSize(new java.awt.Dimension(59, 22));
        btnExit.setRolloverEnabled(false);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(pnlCashier, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(209, 209, 209)
                        .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(pnlCashier, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnDeselect;
    private javax.swing.JButton btnExit;
    private javax.swing.JButton btnGetApp;
    private javax.swing.JButton btnInvoice;
    private javax.swing.JButton btnSelectAll;
    private org.freixas.jcalendar.JCalendarCombo calFrom;
    private org.freixas.jcalendar.JCalendarCombo calTo;
    private javax.swing.JCheckBox chkToday;
    private javax.swing.JPopupMenu.Separator jSeparator1;
    private javax.swing.JScrollPane jspApp;
    private javax.swing.JScrollPane jspDetails;
    private javax.swing.JLabel lblDetails;
    private javax.swing.JLabel lblFrom;
    private javax.swing.JLabel lblGrand;
    private javax.swing.JLabel lblTo;
    private javax.swing.JMenuItem mniDeselect;
    private javax.swing.JMenuItem mniInvoice;
    private javax.swing.JMenuItem mniSelectAll;
    private javax.swing.JPopupMenu pmnApp;
    private javax.swing.JPanel pnlCashier;
    private javax.swing.JPanel pnlChild1;
    private javax.swing.JPanel pnlChild2;
    private javax.swing.JTable tblApp;
    private javax.swing.JTable tblDetails;
    // End of variables declaration//GEN-END:variables
}
